package com.xiaojian.pick.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author whycode
 * @title: Support
 * @projectName campus-secondary-market-app---sys
 * @description: TODO
 * @date 2022/3/2615:53
 */

@Data
public class Support {

    private Integer id;

    @TableField(value = "c_id")
    private Integer commodityId;
    @TableField(value = "u_id")
    private Integer userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
